<?php use_helper('Object', 'Validation', 'ObjectAdmin', 'I18N', 'Date') ?>
<?php slot('page_title', __('WMS-CHANGE-TI')) ?>

<?php use_stylesheet('/sf/sf_admin/css/main') ?>

<div id="sf_admin_container">

<h1>TallyIN change number</h1>

<div id="sf_admin_content">
<fieldset>

<?php echo form_tag('tallyin/changeNumber', array(
  'id'        => 'sf_admin_edit_form',
  'name'      => 'sf_admin_edit_form',
  'multipart' => true,
  'onsubmit'=>'return requireFill()',
)) ?>
<input type="hidden" name = "id" id="id" value ="<?php echo $id?>">
<div class="form-row">
  <?php echo label_for('notes', 'TallyIN number:', 'class="required" ') ?>
  <div class="content">

  <input type="text" name="no" id="no" value="<?php echo $no?>">
    </div>
</div>

</fieldset>
<ul class="sf_admin_actions">
<li>
<?
echo submit_tag(__('change'), array (
      'name' => 'save',
      'class' => 'sf_admin_action_save',
    )) ;
    ?>
</li>
</ul>
</form>
</div>
</div>
<script language="JavaScript">
function requireFill(){
    var notes = document.getElementById('no');
    if (!notes.value){
        alert ('Please enter the data!');
        notes.focus();
        return false;
    }
}
</script>